var store;
Ext.onReady(function() {
	new Ext.Window({
			title: "GBIF Taxa",
			height: 500, width: 900, layout: "fit",
			items: [{
					xtype: "gx_mappanel",
					layers: [
							new OpenLayers.Layer.WMS(
									"GBIF"
								, "http://maps.opengeo.org/geowebcache/service/wms"
								,	{ 
											layers: "bluemarble"
										, version: "1.0.0"
										, transparent: "true"
										, format: "image/png"
									}
							)
						,	new OpenLayers.Layer.WMS(
									"GBIF"
								, "http://geoserver.gbif.org/wms?"
								,	{ 
											layers: "gbif:gbifDensityLayer"
										, version: "1.0.0"
										, transparent: "true"
										, format: "image/png"
										, filter: "(<Filter><And><PropertyIsEqualTo><PropertyName>type</PropertyName><Literal>1</Literal></PropertyIsEqualTo><PropertyIsEqualTo><PropertyName>concept</PropertyName><Literal>13534258</Literal></PropertyIsEqualTo></And></Filter>)"
									}
							)
						,	new OpenLayers.Layer.WMS(
									"GBIF"
								, "http://lifemapper.org/ogc?"
								,	{ 
											layers: "prj_865560"
//										,	map: 'MAP=data_1268054'
										, version: "1.0.0"
										, transparent: "true"
										, format: "image/gif"
									}
							)

/*	
						,	new OpenLayers.Layer.WMS(
									"GBIF"
								, "http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi?"
								,	{ 
											layers: "nexrad-n0r-m45m"
										, version: "1.0.0"
										, transparent: "true"
										, format: "image/png"
//										, filter: "(<Filter><And><PropertyIsEqualTo><PropertyName>type</PropertyName><Literal>1</Literal></PropertyIsEqualTo><PropertyIsEqualTo><PropertyName>concept</PropertyName><Literal>13534258</Literal></PropertyIsEqualTo></And></Filter>)"
									}
							)

						,	new OpenLayers.Layer.Google(
									"Google Physical"
								,	{type: G_PHYSICAL_MAP}
							)
*/
					],
					zoom: 1
			}]
	}).show();
/*
            map = new OpenLayers.Map('map');
            map.addControl(new OpenLayers.Control.LayerSwitcher());
            
            var gphy = new OpenLayers.Layer.Google(
                "Google Physical",
                {type: G_PHYSICAL_MAP}
            );
            var gmap = new OpenLayers.Layer.Google(
                "Google Streets", // the default
                {numZoomLevels: 20}
            );
            var ghyb = new OpenLayers.Layer.Google(
                "Google Hybrid",
                {type: G_HYBRID_MAP, numZoomLevels: 20}
            );
            var gsat = new OpenLayers.Layer.Google(
                "Google Satellite",
                {type: G_SATELLITE_MAP, numZoomLevels: 22}
            );


            map.addLayers([gphy, gmap, ghyb, gsat]);

            map.setCenter(new OpenLayers.LonLat(10.2, 48.9), 5);
*/
});